package com.example.usermanagement.repository;

import com.example.usermanagement.entity.Book;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import java.util.Optional;
@Service
public interface BookRepostitory extends JpaRepository<Book, Integer> {
    Optional<Book> findByBookname(String Bookname);

}
